#pragma once
#include "Thread.h"

namespace ThreadLib{
	class BoostThread : public Thread{
	public:
		BoostThread(boost::function<void(void)> function);
		~BoostThread();

		void run();
		void join();

		bool isRunning();
	private:
		void executionFunction();

		bool m_running;
		boost::thread m_thread;
	};
}